<html>

<head> 
<script type="text/javascript" src="../../html/prototype.js"></script>
<script type="text/javascript" src="../../html/rico21/src/rico.js"></script>

	<style>
	/*struct style*/
	
	*{padding:0; margin:0;}
	a{ text-decoration:none; }
	ul{ text-align:center;}
	li{ list-style:none; display:inline;}
	img{ border:0;}
	
	.content{ width:96%; margin:auto; height:auto; }
	
	body{ width:100%; font-size:12px; }
	#pro_header{ width:100%; height:16px;border-bottom:1px dotted #bdd;}
		#pro_header *{ margin:0 5px 0 0;}
		#pro_header .sign{float:left; color:#069;}
		#pro_header .username{float:right;} 
		#pro_header a{color:#069;}
		#pro_header a:hover{text-decoration:underline;}
		
	
	#header { width:100%; height:70px;}
		#header .title{ font-size:250%; font-weight:lighter; color:#069; float:left;}
		#header .ico{ float:left; margin:5px; height:45px; width:45px; }
		#header .acm_icpc{ float:right; }
	
	#nav { height:19px; width:100%;font-size:115%;}
		#nav a{ margin: 0 15px; padding:0 10px;text-align:center; background:#cee; color:#069;}
		#nav .active{ background:#bdd;}
		#nav a:hover{ background:#bdd; text-decoration:underline;}
	#sub_nav { height:19px; width:100%; background:#bdd; font-size:115%;}
	
	#left{ width:15%; height:auto;float:left; margin:2px;}
		#left fieldset{ border:1px solid #069; padding:1px;}
		#left legend{ color:#069 ; }
	#main{ width:60%; float:left; margin:2px ; height:auto;}
	
	#right{ width:20%; height:auto; float:right; margin:2px; }
	
	#footer{ width:100%; text-align:center; color:#069; clear:both; border-top:1px dotted #ddd; }
	/*
		form style
	*/

	div.error{ background:#Fdd;color:#a00;padding:5px; margin:5px 0; font-size:120%;}

	form .row{ margin:20px 0; clear:both; padding:2px; }

	form .row label {width:160px;float:left;display:block;}

	form .row input{ height:22px;font-size:125%;}
        form .row input[type=text] { width : 230px; }
        form .row input[type=password] { width : 230px; }
	
	form .row .text{}
	form .row .passwd{}
	
	form .captcha{ margin-left:30%;}
	
	form .submit{padding:5px; margin-top:40px; background:#cee;}

	#sign{  height:auto; padding:2px; margin:2px; border:1px solid #bdd; font-family:Arial, Helvetica, sans-serif;}
		#sign form label{ color:#003366; font-size:125%; float:left; color:#006699;}
		#sign  legend{color:#069;padding:1px;}

		#sign .signup {width:70%;}
		
	.sign_success{
		font-family:Georgia, "Times New Roman", Times, serif;
		margin:10px 0;
		padding-top:10px;
		height:70px;
		width:100%; 
		text-align:center; 
		border:2px solid #6a6; 
		color:#333; 
		background:#9f9;
		font-size:130%;
	}
	.sign_success a{
		color:#006699;
	}
	.sign_success a:hover{
		text-decoration:underline;
	}
	
	
	
	#topic_and_replys{ width:100%; }
		#topic { font-size:11px;border:1px solid #999;color:#999;}
		#topic .topic_title{ font-size:110%; }
	</style>
</head>

<body>

<!-- pro header -->
	<div id="pro_header">
		<div class="sign"><a href="#" >Sign in</a></div>
	<!--	<div class="sign"><a href="#">Sign out</a></div>
		<div class="username">Judasnow</div>
	-->
	</div>
<!-- header -->
	<div id="header">
		<div class="ico"><img src="images.jpeg" /></div>
		<div class="acm_icpc"><img src="acm_icpc.png" /></div>
		<div class="title">Suse acm/icpc online judge#lt?soj</div>
	</div>
	
<!-- dav -->
	<div id="nav">
	<ul>
		<li><a href="#">Home</a></li>
		<li><a href="#" class="active">Contest</a></li>
		<li><a href="#">Problem</a></li>
		<li><a href="#">Ranklist</a></li>
		<li><a href="#">Bbs</a></li>
		<li><a href="#">Hello world</a></li>
	</ul>
	</div>
	<div id="sub_nav"></div>
	
	
	<div id="left">
	
	</div>
	<div id="main">
		<div id="topic_and_replys">
			<div id="topic">
				<div class="topic_title">
					<h1>Why string.Replace works only when assigned to new string?</h1>
				</div>
				<div class="content">
					Hi, I guess it has to do something with string being a reference type but I dont get why simply string.Replace("X","Y") does not work? Why I need to do `string A=stringB.Replace("X","Y") I thought it is just a method to be done on specified instance? Thanks for explanation
				</div>
			</div>
			
			<div id="replys">
				<div class="reply">					
					<div class="content">
						Because strings are immutable. Any time you change a string .net creates creates a new string object. It's a property of the class.
					</div>
				</div>
			</div>
		
		
		
		</div>	
	</div>
	<div id="right"></div>
	
	<div id="footer">{?soj index page?}</div>
</body>

<script type="text/javascript">
//rico ʵ??Բ?? ??¼????????
Rico.loadModule('Corner');
Rico.onLoad( function() {
   var roundCorners = Rico.Corner.round.bind(Rico.Corner);
   roundCorners('signin',{border: '#DBB'});
  // var menus = $$('#nav li').each( function (s) {roundCorners(s,{corners:"top"});} );
});

</script>
</html>
